package com.lingyuan.discounts.constant;

public enum CouponAmountEnum {
    /**
     *
     */
    PRICE_FIXED(0,"fixedDiscount","满*钱减*钱"),
    /**
     * 满*钱打*折
     */
    PRICE_PERCENT(1,"percentDiscount","满*钱打*折"),
    /**
     * 满*件减*钱
     */
    PAY_NUM_FIXED(2,"payNumFixedDiscount","满*件减*钱"),
    /**
     * 满*件打*折
     */
    PAY_NUM_PERCENT(3,"payNumPercentDiscount","满*件打*折");
    private Integer code;
    private String name;
    private String type;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    CouponAmountEnum(Integer code, String name, String type) {
        this.code = code;
        this.name = name;
        this.type = type;
    }
}
